package example2;

import org.auditlogger.api.AuditLogger;
import org.auditlogger.api.AuditLoggerFactory;
import org.auditlogger.api.EventType;

public class Runner {
	
	private static final AuditLogger auditLogger = 
		AuditLoggerFactory.getInstance().getLogger(Runner.class);

	public static void main (String[] args) {
		AppLogRecord auditRecord = new AppLogRecord(EventType.EVENT_TYPE_FAILURE, 
				"Ravi Sharda.....");
		auditRecord.setAffectedSubsystem("AUTH");
		auditRecord.setClientIP("10.140.1.123");
		auditLogger.log(auditRecord);
	}

}
